import request from '@/utils/request'
var group_name = 'notice'
export default {
    addNotice(notice) {
        return request({
            url: `/${group_name}/addNotice`,
            method: 'post',
            data: notice
        })
    },
    getNotice() {
        return request({
            url: `/${group_name}/getNotice`,
            method: 'get'
        })
    },
    getCount() {
        return request({
            url: `/${group_name}/getCount`,
            method: 'get'
        })
    }
}